package com.jinmdz.fmis.dao.admin.model.timesegment;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.jinmdz.fmis.core.annotation.AnDict;
import com.jinmdz.fmis.core.constant.EDictCode;
import com.jinmdz.fmis.dao.base.BaseItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 火化预约时间段列表维护Item
 *
 * @author LiCongLu
 * @date 2020-03-12 13:52
 */
@ApiModel(value = "火化预约时间段列表维护Item", description = "火化预约时间段列表维护Item")
public class TimeSegmentListItem extends BaseItem {
    /**
     * 火化炉类型编码
     */
    @ApiModelProperty(value = "火化炉类型编码", name = "furnaceTypeCode", position = 1)
    @JsonIgnore
    private Integer furnaceTypeCode;

    /**
     * 火化炉类型
     */
    @ApiModelProperty(value = "火化炉类型", name = "furnaceType", position = 2)
    @AnDict(dict = EDictCode.FURNACE_TYPE, ref = "furnaceTypeCode")
    private String furnaceType;

    /**
     * 预约时间段
     */
    @ApiModelProperty(value = "预约时间段", name = "appointmentTimeSegment", position = 3)
    private String appointmentTimeSegment;

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序", name = "sort", position = 4)
    private Integer sort;

    public Integer getFurnaceTypeCode() {
        return furnaceTypeCode;
    }

    public TimeSegmentListItem setFurnaceTypeCode(Integer furnaceTypeCode) {
        this.furnaceTypeCode = furnaceTypeCode;
        return this;
    }

    public String getFurnaceType() {
        return furnaceType;
    }

    public TimeSegmentListItem setFurnaceType(String furnaceType) {
        this.furnaceType = furnaceType;
        return this;
    }

    public String getAppointmentTimeSegment() {
        return appointmentTimeSegment;
    }

    public TimeSegmentListItem setAppointmentTimeSegment(String appointmentTimeSegment) {
        this.appointmentTimeSegment = appointmentTimeSegment;
        return this;
    }

    public Integer getSort() {
        return sort;
    }

    public TimeSegmentListItem setSort(Integer sort) {
        this.sort = sort;
        return this;
    }
}
